﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ylh.Data
{
    /// <summary>
    /// 新版机构中不启用自定义属性
    /// </summary>
    public sealed class TableAttribute : Attribute
    {
        public TableAttribute() { }

        private String _tableName;
        /// <summary>
        /// 数据表名称
        /// </summary>
        public String TableName
        {
            get { return _tableName; }
            set { _tableName = value; }
        }

        public TableType _tableType = TableType.Table;
        /// <summary>
        /// 数据表类型
        /// </summary>
        public TableType TableType
        {
            get { return _tableType; }
            set { _tableType = value; }
        }
    }
}
